$(function(){
	var data = ['1','103','54','否','./img/quant.png']
	var chekbox_data = false
	$('.button').on('click' , function(){
		const date = $('.input').val()
		console.log(data[1])
		if(data[1] == date){
			$(data).each(function(index , element){
				console.log(index , element)
				$('.data_box').append($('<div class="i ele">' + element + "</div>"))
			})
		}else{
			$('.ele').remove()
			alert('该教室不存在')
		}
	})
	$('.chekbox').on('click' , function(){
		chekbox_data = !chekbox_data
		console.log(chekbox_data)
	})
})